package com.idp.web.shop.service;
import java.util.List;

import com.idp.common.persistence.Page;
import com.idp.web.shop.entity.Category;
import com.idp.web.system.entity.SysMenu;

/**
 * 商品分类service接口
 * @time 2018年4月21日上午1:23:21
 * @author WuJiangWu
 */
public interface CategoryService{
	
	public List<Category> find(Category category);
	
	public Page<Category> findByPage(Category category,Page<Category> page);
	
	public List<Category> findBySearch(Category category);
	
	public Category getById(String id);
	
	public void add(Category category);

	public void update(Category category);
	
	public void delete(String id);
	
	public List<Category> getByParentId(String parentId);
	
	public List<Category> findForTreeTable(String parentId);
}
